package com.qdxwx.data.service.advert;

import com.qdxwx.common.page.PageRequest;
import com.qdxwx.models.advert.Advert;

import java.util.List;

/**
 *广告图service 接口
 * Qdx NetSchool Platform
 * @author qdxwx
 * @updateTime 2022/5/25
 * @description
 */
public interface AdvertService {

	int insert(Advert image);

	List<Advert> getList(Advert advert, PageRequest page);

	List<Advert> getList(Advert advert, int limit);

	List<Advert> getList(int channelId, int typeId, int limit);

	long count(Advert advert);

	Advert get(int imageId);

	int delete(int id);

	int update(Advert image);
}
